package com.shreecon.lms.interfaces.manager;

import com.shreecon.lms.common.EmployeeDetailsView;
import com.shreecon.lms.interfaces.LMSException;

/**
 * The Interface IEmployeeManager.
 * 
 * @author Santhosh. Modified on Aug 13, 2011
 */
public interface IEmployeeManager {

	/**
     * Gets the login detail.
     * 
     * @param userName
     *            the user name
     * @param password
     *            the password
     * @return the login detail
     * @throws LMSException
     *             the lMS exception
     */
	EmployeeDetailsView getLoginDetail(final String userName, final String password ) throws LMSException;

	/**
     * Gets the employee by id.
     * 
     * @param empId
     *            the emp id
     * @return the employee by id
     * @throws LMSException
     *             the lMS exception
     */
	EmployeeDetailsView getEmployeeById(Long empId) throws LMSException;
}
